//prueba_myfct()
function prueba_myfct(){
parametros="";
for(i=stack.length-1;i>(stack.length-1)-2;i--){

                        parametros+=stack[i]+",";

            }
document.getElementById("commandToServer").value="Calculator=http://127.0.0.1/engineerplus/Calculator/Events/EventsCalculator.php->prueba_myfct<-"+parametros;
document.getElementById("tray").value="0:";
POSTMethodSend("commandToServer","divContent","../Events/EventsCommandsComponent.php");
}